package com.crane.oss.app.bean.req;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author tp
 * @version 1.0.0
 * @ClassName AppUpdatePic.java
 * @Description APP修改头像
 * @createTime 2022年05月07日 10:06:00
 */
@Data
public class AppUpdatePicReq {
  @ApiModelProperty(value = "老师传用户Id，家长传学生ID")
  @NotNull(message = "ID不能为空")
  private Long id;
  @ApiModelProperty(value = "1老师2家长")
  @NotNull(message = "用户类型不能为空")
  private Integer type;
  @ApiModelProperty(value = "头像地址")
  private String picUrl;
}
